package cc.comac.mom.entity;

import java.time.LocalDate;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cc.comac.mom.entity.base.BaseResultEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@TableName("universal_number_generation")
@Data
@EqualsAndHashCode(callSuper=true)
public class UniversalNumberGenerationEntity extends BaseResultEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@TableField("number_generation_id")
	@TableId(value = "number_generation_id",type = IdType.INPUT)
	private long id;
	
	private String prefix;
	
	private String suffix;
	@JSONField(format = "yyyy-MM-dd")
	private LocalDate encodingDate;
	

}
